//
//  AudioHeader.h
//  AudioVisualFeast
//
//  Created by 温晓宇 on 16/1/27.
//  Copyright © 2016年 dllo. All rights reserved.
//

#ifndef AudioHeader_h
#define AudioHeader_h

/**********基类***********/
#import "QL_BaseViewController.h"
#import "QL_BaseTableViewCell.h"
#import "QL_AFNTools.h"
#import <BmobSDK/Bmob.h>

#if DEBUG

#define NSLog(FORMAT, ...) fprintf(stderr,"[%s:%d行] %s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);

#else

#define NSLog(FORMAT, ...) nil

#endif

#define RGBA(R/*红*/, G/*绿*/, B/*蓝*/, A/*透明*/) \
[UIColor colorWithRed:R/255.f green:G/255.f blue:B/255.f alpha:A]

#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height

#define  NIGHT_COLOR [UIColor colorWithRed:((float)((0x393939 & 0xFF0000) >> 16))/255.0 green:((float)((0x393939 & 0xFF00) >> 8))/255.0 blue:((float)(0x393939 & 0xFF))/255.0 alpha:1.0]

#define WHITE_COLOR [UIColor whiteColor]
#define BLACK_COLOR [UIColor blackColor]

#define USERDEFAULT [NSUserDefaults standardUserDefaults]
#define My_COLOR [UIColor colorWithRed:248 / 255.0 green:243 / 255.0 blue:233 / 255.0 alpha:1];

#endif /* AudioHeader_h */
